/**
 * 
 */
package com.hexacta.hrs.report.dtos;

/**
 * @author mfunes
 * 
 */
public class HiringConditionsReportDTO implements Comparable<HiringConditionsReportDTO> {

    private String firstName = "----";

    private String lastName = "----";

    private String firstWorkingDay = "----";

    private String hiringConditions = "----";

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(final String firstName) {
        this.firstName = firstName != null ? firstName : "----";
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(final String lastName) {
        this.lastName = lastName != null ? lastName : "----";
    }

    public String getFirstWorkingDay() {
        return firstWorkingDay;
    }

    public void setFirstWorkingDay(final String firstWorkingDay) {
        this.firstWorkingDay = firstWorkingDay != null ? firstWorkingDay : "----";
    }

    /**
     * @return the hiringConditions
     */
    public String getHiringConditions() {
        return hiringConditions;
    }

    /**
     * @param hiringConditions
     *            the hiringConditions to set
     */
    public void setHiringConditions(final String hiringConditions) {
        this.hiringConditions = hiringConditions;
    }

    @Override
    public int compareTo(final HiringConditionsReportDTO o) {
        return getLastName().compareTo(o.getLastName());
    }

}
